package cn.zn.modules.pz.his.entity;

import lombok.Data;
import org.mongodb.morphia.annotations.Entity;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@Entity
@Document(collection = "pz_request")
public class PzRequest {
    @Id
    private String id;
    @Field("ap")
    private Integer ap;
    @Field("request_id")
    private String requestId;
    @Field("spending_type")
    private String spendingType;
    @Field("money")
    private Double money;
    @Field("project_code")
    private String projectCode;
    @Field("reason")
    private String reason;
    @Field("main_id")
    private String mainId;
    @Field("is_expense")
    private Boolean isExpense;
    @Field("is_use_public")
    private String isUsePublic;
    @Field("doc_code_dw")
    private String docCodeDw;
    @Field("doc_code_yz")
    private String docCodeYz;
}
